/* ================= FOOTER HOME ================= */

.footer {
    width: 100%;
    max-width: 100%;
    background: var(--bg-footer);
    color: var(--text-primary);
    padding: 50px 0 24px;
    margin-top: 60px;
    font-family: var(--font-body);
    overflow-x: hidden;
    border-top: 1px solid var(--border-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Footer container */
.footer .container {
    max-width: 1200px;
    margin: auto;
    padding: 0 24px;
}

/* Top section */
.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 30px;
    align-items: center;
    padding-bottom: 35px;
    border-bottom: 1px solid var(--border-color);
}

/* Contact card */
.footer-contact-card {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Contact icon */
.contact-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--swatch-mocha);
    color: var(--swatch-pale-sand);
    border-radius: var(--radius-md);
    font-size: 22px;
    transition: 0.3s ease;
}

body.dark-mode .contact-icon {
    background: var(--swatch-sand);
    color: var(--swatch-mahogany);
}

.contact-icon:hover {
    transform: translateY(-3px);
}

/* Contact text */
.footer-contact-card span {
    display: block;
    margin-bottom: 4px;
    color: var(--text-muted);
    font-size: 14px;
}

.footer-contact-card a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: 0.3s ease;
}

.footer-contact-card a:hover {
    color: var(--accent);
}

/* Start button */
.book-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 22px;
    background: var(--swatch-mocha);
    color: var(--swatch-pale-sand);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: 0.3s ease;
}

body.dark-mode .book-btn {
    background: var(--swatch-sand);
    color: var(--swatch-mahogany);
}

.book-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

/* Start button icon */
.book-btn span {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-sm);
    font-size: 20px;
}

.book-btn small {
    display: block;
    margin-bottom: 3px;
    font-size: 12px;
    opacity: 0.85;
}

.book-btn strong {
    font-size: 18px;
    font-family: var(--font-title);
    letter-spacing: 0.5px;
}

/* Main content */
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding: 40px 0 30px;
}

/* Brand */
.footer-brand h2 {
    margin: 0;
    color: var(--text-primary);
    font-family: var(--font-title);
    font-size: 32px;
    letter-spacing: 1px;
}

.brand-subtitle {
    margin: 4px 0 14px;
    color: var(--accent);
    font-size: 15px;
    font-weight: 600;
}

.footer-brand p:not(.brand-subtitle) {
    max-width: 360px;
    margin: 0 0 20px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* Newsletter */
.newsletter {
    display: flex;
    max-width: 380px;
    padding: 5px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.newsletter input {
    width: 100%;
    padding: 10px 14px;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 14px;
}

.newsletter input::placeholder {
    color: var(--text-muted);
}

.newsletter button {
    padding: 0 20px;
    background: var(--swatch-mocha);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--swatch-pale-sand);
    font-size: 15px;
    font-family: var(--font-title);
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

body.dark-mode .newsletter button {
    background: var(--swatch-sand);
    color: var(--swatch-mahogany);
}

.newsletter button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Footer columns */
.footer-column h3 {
    margin-bottom: 18px;
    color: var(--text-primary);
    font-size: 20px;
    font-family: var(--font-title);
}

.footer-column a {
    display: block;
    margin-bottom: 12px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

/* Contact */
.contact-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.contact-row span {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--bg-card);
    color: var(--accent);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 16px;
    transition: 0.3s ease;
}

.contact-row p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
}

/* Bottom */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0 0;
    border-top: 1px solid var(--border-color);
}

/* Copyright */
.footer-bottom p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
}

/* Social icons */
.social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-links a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s ease;
}

.social-links a:hover {
    background: var(--swatch-mocha);
    color: var(--swatch-pale-sand);
    transform: translateY(-3px);
}

body.dark-mode .social-links a:hover {
    background: var(--swatch-sand);
    color: var(--swatch-mahogany);
}

/* Tablet */
@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}